<?php
namespace catchAdmin\basics\model\search;

trait CurrencySearch
{
    public function searchCurrencyNumAttr($query, $value, $data)
    {
        return $query->whereLike('currency_num', $value);
    }
    
    public function searchCurrencyNameAttr($query, $value, $data)
    {
        return $query->whereLike('currency_name', $value);
    }

}